package com.yi.wood.web.ctrl.dto;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.io.Serializable;

/**
 * Created by moyi on 2019/2/1 18:01
 *
 * @author moyi
 */
public class OrderParam implements Serializable {

    @Min(0)
    private Long goodsId;

    @Min(0)
    @Max(9999)
    private Integer num;

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
